<!DOCTYPE html>
<html>
<head>
	<title>播放</title>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"></script>
</head>
<body>
	<h2>视频详情页</h2>
	<h4>{{$dir}}</h4>
<body>

  <div id="player"></div>

   @include('footer')
</body>
  <script>
    var player = new Clappr.Player({source: "http://{{$_SERVER['SERVER_ADDR'].'/'.$dir}}", parentId: "#player"});
  </script>
</html>